import request from '@/utils/request'

// 获取活动列表
export function getActivityList(params) {
  return request.get('/activity/list', params )
}

// 新增活动
export function addActivity(data) {
  return request.post('/activity/insert', data)
}

// 更新活动
export function updateActivity(data) {
  return request.post('/activity/update', data)
}

// 删除活动
export function deleteActivity(params) {
  return request.get('/activity/delete', params)
}

